Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "test: change duration_ms to duration" #7214

Closed
wants to merge 1 commit into from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jun 8, 2016

Undoes the change made @ #7133

I'm pretty sure we've had this discussion at least twice on GitHub already but I can't find either record unfortunately. Sorry I'm just catching up and saw this PR only now.

"duration_ms" is a TAP thing and yes it's confusing and doesn't read well but you have to interpret it as "duration including milliseconds", so it's "seconds.milliseconds". When you change it, TAP parsers don't pick it up properly.

Compare the CI run that was done specifically for #7133 prior to merging:

screen shot 2016-06-08 at 4 38 17 pm

With the run for that same slave machine done just one before without this change:

screen shot 2016-06-08 at 4 37 44 pm

So now we've lost timing information, which is important when looking for timeouts (if you use the parsed results, I use the raw console but I know a lot of people prefer the former).

@rvagg rvagg mentioned this pull request Jun 8, 2016
2 tasks
@addaleax addaleax added test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory. labels Jun 8, 2016
@addaleax
Copy link
Member

addaleax commented Jun 8, 2016

If this something that already has lead to confusion multiple times, maybe adding an inline comment to explain it (or reference e.g. this PR) is a good idea?

@rvagg
Copy link
Member Author

rvagg commented Jun 8, 2016

yep, was just thinking that, will do next PR

@addaleax
Copy link
Member

addaleax commented Jun 8, 2016

LGTM from me then

@jbergstroem
Copy link
Member

LGTM

@cjihrig
Copy link
Contributor

cjihrig commented Jun 8, 2016

Can this be closed in favor of #7216?

@rvagg
Copy link
Member Author

rvagg commented Jun 8, 2016

yeah, sure, both commits are there, thanks

@rvagg rvagg closed this Jun 8, 2016
@rvagg rvagg deleted the revert-7133 branch June 8, 2016 12:38
@jasnell
Copy link
Member

jasnell commented Jun 8, 2016

Ugh... yes, you're right, I thought this looked familiar but completely zoned on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants